import * as bs from "@/util/bs";
import React, { useEffect } from "react";
import { useDispatch } from "react-redux";

export function CurrUser(props) {
  const dispatch = useDispatch();

  useEffect(() => {
    bs.curr({ dispatch })
  }, []);

  return (
    <>
      {props.children}
    </>
  );
}
export default CurrUser;
